package com.authManager.commons.feignApi.hystric;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.stereotype.Component;

import com.authManager.commons.feignApi.SysMenuUrlApi;
import com.authManager.entity.SysMenuUrl;

import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;

@Component
public class SysMenuUrlApiHystric implements SysMenuUrlApi {

	@Override
	public ResultData<Object> saveSysMenuUrl(Long sysMenuId, String requestUrl) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<Object> editSysMenuUrl(@RequestParam(required = true) Long sysMenuUrlId, Long sysMenuId,
			String requestUrl) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<Object> delSysMenuUrl(Long sysMenuUrlId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<SysMenuUrl> getSysMenuUrl(Long sysMenuUrlId) {
		return new ResultData.Builder<SysMenuUrl>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<AdminPage<SysMenuUrl>> listSysMenuUrl(Integer pageNum, Integer pageSize, Long sysMenuUrlId,
			Long sysMenuId, String requestUrl) {
		return new ResultData.Builder<AdminPage<SysMenuUrl>>(ResultCode.reqeust_TimeOut).build();
	};
}
